crypto/tls.clientHelloMsg.keyShares (field)
21 uses
crypto/tls (current package)
handshake_client.go#L164: hello.keyShares = []keyShare{
handshake_client.go#L171: hello.keyShares = append(hello.keyShares, keyShare{group: X25519, data: x25519EphemeralKey})
handshake_client.go#L181: hello.keyShares = []keyShare{{group: curveID, data: keyShareKeys.ecdhe.PublicKey().Bytes()}}
handshake_client_tls13.go#L58: if hs.keyShareKeys == nil || hs.keyShareKeys.ecdhe == nil || len(hs.hello.keyShares) == 0 {
handshake_client_tls13.go#L317: if slices.ContainsFunc(hs.hello.keyShares, func(ks keyShare) bool {
handshake_client_tls13.go#L338: hello.keyShares = []keyShare{{group: curveID, data: key.PublicKey().Bytes()}}
handshake_client_tls13.go#L378: hs.hello.keyShares = hello.keyShares
handshake_client_tls13.go#L438: if !slices.ContainsFunc(hs.hello.keyShares, func(ks keyShare) bool {
handshake_messages.go#L93: keyShares []keyShare
handshake_messages.go#L279: if len(m.keyShares) > 0 {
handshake_messages.go#L287: for _, ks := range m.keyShares {
handshake_messages.go#L620: m.keyShares = append(m.keyShares, ks)
handshake_messages.go#L709: keyShares: slices.Clone(m.keyShares),
handshake_server_tls13.go#L218: for _, ks := range hs.clientHello.keyShares {
handshake_server_tls13.go#L234: for _, ks := range hs.clientHello.keyShares {
handshake_server_tls13.go#L646: if len(clientHello.keyShares) != 1 {
handshake_server_tls13.go#L650: ks := &clientHello.keyShares[0]